﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/AdminMasterPage.master" AutoEventWireup="true" CodeFile="quan-ly-chuyen-muc.aspx.cs" Inherits="Admin_quan_ly_chuyen_muc" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="grvPostsCategories" runat="server" 
        AutoGenerateColumns="False" DataKeyNames="ChuDeID" 
        onrowcancelingedit="grvPostsCategories_RowCancelingEdit" 
        onrowdeleting="grvPostsCategories_RowDeleting" 
        onrowediting="grvPostsCategories_RowEditing" 
        onrowupdating="grvPostsCategories_RowUpdating">
        <Columns>
            <asp:BoundField DataField="TenChuDe" HeaderText="Tên chuyên mục" />
            <asp:CommandField ButtonType="Button" EditText="Sửa" 
                HeaderText="Sửa chuyên mục" ShowEditButton="True" />
            <asp:CommandField ButtonType="Button" HeaderText="Xóa chuyên mục" 
                ShowDeleteButton="True" />
        </Columns>
    </asp:GridView>
    <br /><span>Thêm mới chuyên mục</span><asp:TextBox ID="txtPostsCategories" runat="server"></asp:TextBox><asp:Button
        ID="btnOK" runat="server" Text="Thêm" onclick="btnOK_Click" /><asp:Label ID="lblInfo"
            runat="server" Text=""></asp:Label>
</asp:Content>

